package com.nets.pool;

import com.nets.util.LogUtil;
import com.nets.util.XmlParser;

/**
 * @author sig
 * @since 2016/9/17
 */
public class NetPool {
    public static String packetType;
    public static String packet;
    public static String getPacketType;

    public static void init() {
        XmlParser xml = new XmlParser("config/net.xml");
        packetType = xml.getString("packetType");
        packet = xml.getString("packet");
        getPacketType = xml.getString("getPacketType");
        LogUtil.console.info("The net pool has been initialized.");
    }
}
